package mammuthus.controller.filter

import net.csdn.modules.http.ApplicationController


/**
 * 5/27/15 WilliamZhu(allwefantasy@gmail.com)
 */
trait AppNameCheckFilter {
  this: ApplicationController =>

  def checkAppName = {
    if (isEmpty(param("appName"))) render(400, "appName is required")
  }
}
